package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-05-25
 * Time: 17:37
 */
public class Base {
    protected int d;
    public int a = 10;
    public int b = 20;

    static {
        System.out.println("haha");
    }
    //构造方法
//    public Base() {
//
//    }
//    public Base(int a, int b) {
//        this.a = a;
//        this.b = b;
//    }

    /*public void print() {
        System.out.println("nihao");
    }
    public void sit() {
        System.out.println("hehe");
    }*/
}
